dig a hole for (oneself)

Translations
рыть себе яму
He is digging a hole for himself by lying to his boss.
Он роет себе яму, лгя своему начальнику.
Definitions
To create a difficult or problematic situation for oneself, often through one's own actions or decisions.
Words
hole

noun
дыра